//
//  MOUrlMacros.h
//  MobileOffice
//
//  Created by 晓 on 2019/5/30.
//  Copyright © 2019 com.idolmedia. All rights reserved.
//

#ifndef MOUrlMacros_h
#define MOUrlMacros_h

/*
 IP 144954934
 */
//#define AD_HOME      @"https://113.200.25.26:8081"

//正式环境
//#define AD_HOME       @"https://222.82.235.40:8001"

//vpn
#define AD_HOME       @"https://192.168.16.199:8001"

//测试环境
//#define AD_HOME       @"https://124.89.91.39:8101"






//2.1获取短信验证码
#define A_CAPTCHA_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/a/captcha"]

//2.2登录
#define A_IN_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/a/in"]

//2.3获取用户信息
#define USER_GETBYID_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/user/getById"]

//2.4密码修改
#define RESETPASSWORD_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/user/resetPasswd"]

//2.5退出
#define A_OUT_URL  [NSString stringWithFormat:@"%@%@",AD_HOME,@"/a/out"]

//2.6创建手势密码
#define ADDLOCKER_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/locker/addLocker"]

//2.7查询手势密码
#define FINDLOCKERBYUSER_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/locker/findLockerByUser"]

//2.8修改手势密码
#define UPDATELOCKERBYUSER_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/locker/updateLocker"]

//2.9关于
#define GETBYTYPE_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/sys/dict/get-by-type"]

//2.10获取用户常用菜单
#define FINDFAVMENUBYUSERID_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/menu/findFavMenuByUserId"]

//2.11添加常用菜单
#define ADDFAVMENU_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/menu/addFavMenu"]

//2.12删除常用菜单
#define DELFAVMENU_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/menu/delFavMenu"]

//2.13获取所有菜单信息
#define FINDALLFAVMENU_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/menu/findAllFavMenu"]

//2.14获取第三方系统账号信息
#define GETAPPRELUSER_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/appRelUser/getAppRelUser"]

//2.15保存或更新第三方系统信息
#define SAVEAPPRELUSER_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/appRelUser/saveAppRelUser"]

//2.16第三方系统信息更新redis
#define SETAPPRELUSERTOREDIUS_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/appRelUser/setAppRelUserToRedis"]

//2.17通讯录组织接口
#define ADDRESSBOOK_GETABBYORGTREE_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/addressbook/getABOrgTree"]

//2.18通讯录列表接口
#define ADDRESSBOOK_GETABBYBYORGID_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/addressbook/getABbyOrgId"]

//2.19通讯录详情图片
#define ADDRESSBOOK_IOREADIMAGE_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/addressbook/ioReadImage"]

//2.19验证通讯录中是否有该手机号
#define ADDRESSBOOK_ISABEXIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/addressbook/isABExist"]

//2.20验证通讯录中是否有该手机号
#define USER_ISEXIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/user/isExist"]

//2.21组织树接口
#define ORG_GETORGLISTBYPID_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/org/getOrgListByPid"]

//2.22用户注册接口
#define USER_INSERTUSER_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/user/insertUser"]

//2222查看附件文件
#define ODPSDB_ODPSWATCHDOCUMENT_URL       [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsWatchDocument"]

//2.23结亲对象列表
#define RECIPIENT_GETRECIPIENTSBYUSERID_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipient/getRecipientsByUserId"]

//2.24结亲对象复制
#define RECIPIENT_COPYRECIPIENT_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipient/copyRecipient"]

//2.25根据masteid查询结亲对象
#define RECIPIENT_GETRECIPIENTSBYID_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipient/getRecipientById"]

//2.26增加/修改结亲对象
#define RECIPIENT_ADDRECIPIENT_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipient/addRecipient"]

//2.27增加/修改结亲家庭成员
#define RECIPIENTFAMILY_ADDORUPDATEFAMILY_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientFamily/addOrUpdateFamily"]

//2.28删除结亲家庭成员
#define RECIPIENTFAMILY_DERECIPIENTFAMILY_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientFamily/delRecipientFamily"]

//2.29增加/修改结亲计划
#define RECIPIENTPROJECT_ADDORUPDATEPROJECT_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientProject/addOrUpdateProject"]

//2.30根据masterid获取结亲计划
#define RECIPIENTPROJECT_GETECIPIENTPROJECTBYMASTERID_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientProject/getRecipientProjectByMasterId"]

//2.31上传图片
#define RECIPIENTRECORD_UPLOADIMG_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientRecord/uploadImg1"]

//2.32图片回显
#define RECIPIENTRECORD_IOREADIMAGE_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientRecord/ioReadImage"]

//2.33结亲记录列表
#define RECIPIENTRECORD_GETRECIPIENTRECORDS_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientRecord/getRecipientRecords"]

//2.34根据结亲记录Id获取结亲记录详情
#define RECIPIENTRECORD_GETRECIPIENTRECORDBYID_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientRecord/getRecipientRecordById"]

//2.35增加/修改结亲记录
#define RECIPIENTRECORD_ADDORUPDATERECORD_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientRecord/addOrUpdateRecord"]

//2.36结亲汇报列表
#define RECIPIENTREPORT_GETRECIPIENTREPORTS_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientReport/getRecipientReports"]

//2.37根据id查询结亲汇报详情
#define RECIPIENTREPORT_GETRECIPIENTREPORTBYID_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientReport/getRecipientReportById"]

//2.38增加/修改结亲汇报
#define RECIPIENTREPORT_ADDORUPDATEREPORT_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipientReport/addOrUpdateReport"]

//2.40版本更新
#define APKINFO_GETAPKINFO_URL [NSString stringWithFormat:@"%@%@",AD_HOME,@"/apkInfo/getApkInfo"]




//3.1公文系统登录
#define ODPSCX_LOGIN_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsCx/odpsLogin"]

//3.2公文待办列表
#define ODPSDB_FINDDBLIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/findDbList"]

//3.3待办处理单详情（收文）
#define ODPSDB_ODPSQUERYSWCLD_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsQuerySwcld"]

//3.4收文处理单处理意见
#define ODPSDB_ODPSQUERYSWCLDCLYJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsQuerySwcldClyj"]

//3.4.1收文处理单处理意见(部门传阅)
#define ODPSDB_ODPSGETBMCYCLYJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsGetBmcyClyj"]

//3.5公文待办查看正文
#define ODPSDB_ODPSQUERYWJCONTENT_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsQueryWjContent"]

//3.5.1公文待办查看正文(部门传阅)
#define ODPSDB_ODPSGETBMCYZW_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsGetBmcyZw"]

//3.6待办公文查看附件
#define ODPSDB_ODPSWATCHDOCUMENT_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsWatchDocument"]

#define ODPSDB_ODPSWATCHDOCUMENTSU_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsWatchDocumentSu"]

//3.6 新
/*
 需要判断文件后缀名，根据fileName后缀进行判断。如果后缀是pdf、dox、docx、xls、xlsx类型文件，调用
 https://192.168.16.199:8001/odpsDb/odpsWatchDocument/{userName}/{domain}?filepath=XXX&filename=XXX& authorization=encodeURIComponent(token) 返回pdf流字节码
 其他类型文件调用:
 https://192.168.16.199:8001/odpsDb/odpsWatchDocumentSu/{domain}?filepath=XXX&filename=XXX& authorization=encodeURIComponent(token)   返回HTML
 */

//3.7公文待办保存注办意见（收文）
#define ODPSDB_ODPSSAVEZBYJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsSaveZbyj"]

//3.8待办办结
#define ODPSDB_ODPSBJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsBj"]

//3.9退回
#define ODPSDB_ODPSRETURN_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsReturn"]

//3.10保存处理意见（批办）
#define ODPSDB_ODPSSAVEFWCLYJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsSaveFwclyj"]

//3.11待办公文发送获取路径
#define ODPSDB_ODPSDBQUERYSENDFLOWPATHV2_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsDbQuerySendFlowPathV2"]

//3.12待办公文发送获取接收列表
#define ODPSDB_ODPSDBQUERYSENDFLOWACTLISTV2_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsDbQuerySendFlowActListV2"]

//3.13待办发送接口
#define ODPSDB_ODPSDBSEND_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsDbSend"]

//3.14待办处理信息（发文）
#define ODPSDB_ODPSQUERYFWCLD_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsQueryFwcld"]

//3.15待办发文保存处理意见
#define ODPSDB_ODPSSAVEFWCLYJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsSaveFwclyj"]

//3.16局内发布审批表接口
#define JNFB_ODPSJNFBQUERYSPBV3_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/jnfb/odpsJnfbQuerySpbV3"]

//3.17局内发布获取CODE
#define JNFB_ODPSPUBQUERYDM_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/jnfb/odpsPubQueryDm"]

//3.18局内发布保存处理意见
#define JNFB_ODPSJNFBSAVESPB_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/jnfb/odpsJnfbSaveSpb"]

//3.19已办列表
#define ODPSSUYB_FINDSUYBLIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsSuYb/findSuYbList"]

//3.20公文已办详情（收文）
#define ODPSSUYB_ODPSYBQUERYSWCLD_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsSuYb/odpsYbQuerySwcld"]

//3.21已办处理意见（收文）
#define ODPSSUYB_ODPSYBQUERYSWCLDCLYJ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsSuYb/odpsYbQuerySwcldClyj"]

//3.22已办处理单详情（发文）
#define ODPSSUYB_ODPSYBQUERYFWCLD_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsSuYb/odpsYbQueryFwcld"]

//3.23已办公文正文
#define ODPSSUYB_ODPSYBQUERYWJCONTENT_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsSuYb/odpsYbQueryWjContent"]

//3.24已办公文收回
#define ODPSSUYB_ODPSYBBACK_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsSuYb/odpsYbBack"]

//3.25公文查询文件字
#define ODPSCX_WJZLIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsCx/wjzList"]

//3.26公文查询主办部门名称
#define ODPSCX_GETZBBMMC_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsCx/getZbbmmc"]

//3.27公文综合查询列表
#define ODPSCX_WJZHCXLIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsCx/wjzhcxList"]

//3.28文件综合查询
#define ODPSCX_WJZHCXQUERYSWCLD_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsCx/wjzhcxQuerySwcld"]

//3.29公文综合查询获取正文
#define ODPSCX_WJZHCXQUERYWJCONTENT_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsCx/wjzhcxQueryWjContent"]

//3.30局内发布分页列表
#define JNFB_GETJNFBLIST_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/jnfb/getJnfbList"]

//3.31局内发布获取附件
#define JNFB_GETJNFBFJCONTENT_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/jnfb/getJnfbFjContent"]

//3.33代办公文会签
#define ODPSDB_ODPSDBSAVEHQ_URL     [NSString stringWithFormat:@"%@%@",AD_HOME,@"/odpsDb/odpsDbSaveHq"]

//3.34已办公告详情
#define JNFB_ODPSJNFBYBDETAIL_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/jnfb/odpsJnfbYbDetail"]




//4.1数字人事系统登录
#define SZRSDBSX_QUERYSZRSUSERINFO_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsDbsx/querySzrsUserInfo"]

//4.2数字人事查询代办数量
#define SZRSDBSX_QUERYSZRSDBSXCOUNT_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsDbsx/queryszrsDbsxCount"]

//4.3工作纪实获取列表
#define SZRSGZJS_QUERYGZJSLIST_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsGzjs/queryGzjsList"]

//4.4工作纪实获取详情
#define SZRSGZJS_QUERYGZJSBYOID_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsGzjs/queryGzjsByOid"]

//4.5工作纪实保存
#define SZRSGZJS_GZJSSAVE_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsGzjs/gzjsSave"]

//4.6工作自评查询
#define SZRSGZZP_QUERYGZZP_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsGzzp/queryGzzp"]

//4.7工作自评保存
#define SZRSGZZP_GZZPSAVE_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsGzzp/gzzpSave"]

//4.8领导评鉴获取人员
#define SZRSLDPJ_QUERYLDPJLIST_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsLdpj/queryLdpjList"]

//4.9领导评鉴保存
#define SZRSLDPJ_SAVELDPJ_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/szrsLdpj/saveLdpj"]





//5.1流程发起
#define STARTPROC_STARTPROCESS_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/mobileProcdef/getProcdefIdByProcKey"]

//5.2流程代办数查询
#define MOBILERUASK_GETTASKHANDLERLIST_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/mobileRuTask/getTaskHandlerList"]

//5.3流程列表查询
#define DYNAMICFORM_SHOWODO_URL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/static/dynamic-form/show-todo.html"]




//6.1查询用户订餐系统余额
#define USERACCOUNT   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/userAccount/getUserAccount"]

//6.2查询用户可订餐餐厅
#define GETRESTAURANTLIST   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/restaurant/getRestaurantList"]

//6.3查询餐厅在指定日期可订餐/取消时间段接口
#define CHECKCANDO   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/restaurant/checkCanDo"]

//6.4查询指定餐厅、指定用餐类型下、指定日期菜品列表接口
#define GETDISHLIST   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/dish/getDishList"]

//6.5判定菜谱中用餐类型是否已有订单接口
#define CHECKHASDEAL   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/order/checkHasDeal"]

//6.6订餐接口
#define ADDORDER   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/order/addOrder"]

//6.7订单列表接口-分页
#define GETORDERS   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/order/getOrders"]

//6.8订单详情接口
#define GETORDERINFO   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/order/getOrderInfo"]

//6.9订单取消接口
#define DELORDER   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/order/delOrder"]

//6.10评价菜品列表接口
#define GETDISHLIST1   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/dish/getDishList1"]

//6.11菜品详情接口
#define GETDISHBYID   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/dish/getDishById"]

//6.12菜品评价接口
#define ADDDISHRATE   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/dishRate/addDishRate"]

//6.13我的评价列表接口
#define GETDISHRATELIST   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/dishRate/getDishRateList"]

//6.14查询餐厅在指定日期可订餐时间段接口
#define CHECKCANDO2   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/restaurant/checkCanDo2"]

//6.15账单接口
#define GETUSERACCOUNTS   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/userAccount/getUserAccounts"]

//6.16菜谱接口
#define GETECIPEBYRESAURANID   [NSString stringWithFormat:@"%@%@",AD_HOME,@"/recipe/getRecipeByRestaurantId"]


















#endif /* MOUrlMacros_h */
